Hummingbird\Core\Modules\Cloudflare D

Total Complexity 144
Dependencies 3
Dependents 3
Total lines 1,063
Lines of code 591
Logical lines of code 336
Comment lines 299
Methods 40
Properties 2

Methods 40

Method Rating Maintainability Complexity Lines of code
get_urls_for_post()
B
36 20 74
has_cloudflare()
A
46 14 35
get_apo_settings()
A
50 8 28
add_caching_page_rule()
S
52 6 25
get_filetypes_expirations()
S
49 5 33
get_zones_list()
S
52 5 25
get_caching_expiration()
S
56 5 18
run()
S
55 5 18
comment_status_change()
S
66 6 8
toggle_apo()
S
50 4 28
validate_zones()
S
56 4 20
clear_post_cache()
S
57 4 17
find_matching_zone()
S
61 5 10
set_caching_rules()
S
63 4 11
toggle_cache_by_device()
S
56 3 18
clear_on_comment_post()
S
65 4 9
set_caching_expiration()
S
58 3 14
delete_caching_page_rule()
S
61 3 12
module_status()
S
68 3 7
init_apo()
S
68 3 7
post_status_change()
S
73 3 5
process_zones()
S
58 2 15
get_page_rules_list()
S
63 2 11
convert_frequency()
S
52 1 25
get_frequencies()
S
52 1 24
is_apo_enabled()
S
74 2 4
update_caching_page_rule()
S
69 2 7
clear_cache()
S
66 2 8
unregister_caching_page_rule()
S
68 2 7
clear_caching_page_rules()
S
71 2 6
get_registered_caching_page_rule_id()
S
74 2 4
disconnect()
S
60 1 14
page_rule_targets()
S
62 1 12
is_connected()
S
76 1 4
get_plan()
S
76 1 4
is_zone_selected()
S
75 1 4
get_registered_caching_page_rules()
S
76 1 4
register_caching_page_rule()
S
73 1 5
page_rule_actions()
S
68 1 8
init()
S
79 1 3